class Area {
    String areaId
    String name
    Container container
    Type type;
    //Access access

    static belongsTo = Container
    static hasMany = [employed : Employee, borrows : Bwhoa, courses : Course, projects : Project]
    
    static constraints = {
        container(nullable:true)
    }

    public String toString() {
        return name;
    }
}
